package com.xidian.zhiancloud.dao.riskcontrol.risksystem;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.xidian.zhiancloud.model.riskcontrol.TRiskPointTypeStatusList;
import com.xidian.zhiancloud.model.riskcontrol.entity.TPointTypeStaEntity;
import com.xidian.zhiancloud.model.riskcontrol.entity.TSignCategoryStaEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 风险管控-系统设置-风险点类型设置
 */
public interface TRiskPointTypeStatusMapper extends BaseMapper<TRiskPointTypeStatusList> {

    Page<TRiskPointTypeStatusList> getTRiskPointTypeStatusList
            (@Param("searchkey") String searchkey,@Param("companyId") Long companyId,
             @Param("riskcontrolId") String riskcontrolId);

    int addTRiskPointTypeStatus(@Param("data") TRiskPointTypeStatusList data);

    int updateTRiskPointTypeStatus(@Param("id") String id,
             @Param("data") TRiskPointTypeStatusList data);

    int deleteTRiskPointTypeStatus(List<String> list);

    Page<TRiskPointTypeStatusList> getExportTPointTypeStaData(
            @Param("companyId") Long companyId,
            @Param("riskcontrolId") String riskcontrolId);

    int addTPointTypeStaSS00Entity
            (@Param("companyId") Long companyId,
            @Param("userId") String userId,
            @Param("pointTyStaEnt") TPointTypeStaEntity pointTyStaEnt);

    int addTPointTypeStaZY00Entity
            (@Param("companyId") Long companyId,
            @Param("userId") String userId,
            @Param("pointTyStaEnt") TPointTypeStaEntity pointTyStaEnt);

    int addTPointTypeStaGY00Entity
            (@Param("companyId") Long companyId,
             @Param("userId") String userId,
             @Param("pointTyStaEnt") TPointTypeStaEntity pointTyStaEnt);

}
